﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace supermarket.method
{
    internal class Classdvclear
    {
        public void dvclear(DataGridView dv, int cloum)
        {
            int row;
            row = dv.RowCount;     //行数cloum列数
            for (int i = 0; i < row; i++)  //行
            {
                for (int j = 0; j < cloum; j++)  //列
                {
                    dv[j, i].Value = "";
                }
            }

        }
    }
}
